#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int main()
{
	int arr[10] = { 1,2,3,4,5,6,7,8,9,10};
	int a = 0;
	scanf("%d", &a);
	int left = 0;
	int right = 9;
	int b = 1;
	while (left<= right)
	{
		int i = (left + right) / 2;

		if (arr[i] < a)
		{
			left = i + 1;
		}
		if(arr[i] > a)
		{
			right = i - 1;
		}
		if (arr[i] == a)
		{
			printf("have");
			b = 0;
			break;
		}
	}
	if (b)
	{
		printf("no have");
	}

	return 0;
}